﻿using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Entity
{
    public class WMSOrderSalesOrderDetails
    {
        /// <summary>
        /// 销售订单明细id
        /// </summary>
        [Key]
        public int sales_order_detail_id { get; set; }

        /// <summary>
        /// 销售订单Id
        /// </summary>
        public int sales_order_id { get; set; }

        /// <summary>
        /// 货品编号
        /// </summary>
       
        public string product_code { get; set; }

        /// <summary>
        /// 销售单价
        /// </summary>
     
        public decimal selling_unit_price { get; set; }

        /// <summary>
        /// 货品数量
        /// </summary>
       
        public int prod_num { get; set; }

        /// <summary>
        /// 退货数量
        /// </summary>
       
        public int purreturn_num { get; set; }

        /// <summary>
        /// 已出库数量
        /// </summary>
        public int outbound_num { get; set; }

        /// <summary>
        /// 备注
        /// </summary>
       
        public string note { get; set; }

        /// <summary>
        /// 创建人
        /// </summary>
        
        public string create_by { get; set; }

        /// <summary>
        /// 创建时间
        /// </summary>
        public DateTime? create_time { get; set; }

        /// <summary>
        /// 修改人
        /// </summary>
      
        public string update_by { get; set; }

        /// <summary>
        /// 修改时间
        /// </summary>
        public DateTime? update_time { get; set; }

        /// <summary>
        /// 是否删除
        /// </summary>
        
        public string is_delete { get; set; }

        /// <summary>
        /// 销售金额
        /// </summary>
       public decimal saleamount { get; set; }
    }

}

